// JavaScript Document
$(function(){

	//options 选项卡切换
	(function (){
		
		fnTab( $('.tabNav1'), $('.tabCon1'), 'mouseover' );
		
		function fnTab( oNav, aCon, sEvent ) {
			var aElem = oNav.children();
			aCon.hide().eq(0).show();
			
			aElem.each(function (index){
				
				$(this).on(sEvent, function (){
					aElem.removeClass('active');
					$(this).addClass('active');
					
					aCon.hide().eq( index ).show();
				});
				
			});
		}
	})();
	
});